package com.vanguard.p2p.business.mapper;

import com.vanguard.p2p.business.domain.AccountFlow;
import com.vanguard.p2p.business.example.AccountFlowExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountFlowMapper {
    int countByExample(AccountFlowExample example);

    int deleteByExample(AccountFlowExample example);

    int deleteByPrimaryKey(Long accflowId);

    int insert(AccountFlow record);

    int insertSelective(AccountFlow record);

    List<AccountFlow> selectByExample(AccountFlowExample example);

    AccountFlow selectByPrimaryKey(Long accflowId);

    int updateByExampleSelective(@Param("record") AccountFlow record, @Param("example") AccountFlowExample example);

    int updateByExample(@Param("record") AccountFlow record, @Param("example") AccountFlowExample example);

    int updateByPrimaryKeySelective(AccountFlow record);

    int updateByPrimaryKey(AccountFlow record);
}